package com.heima.mapper;

import com.github.pagehelper.Page;
import com.heima.pojo.VmType;
import com.heima.pojo.dto.AddVmTypeDTO;
import com.heima.pojo.dto.PageSearchDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface VmTypeMapper {
//    @Select("select * from tb_vm_type where name = #{name}")
    Page<VmType> search(PageSearchDTO dto);

    void add(AddVmTypeDTO dto);
}
